package com.umpay.exception;
/**
 * @ClassName: RedirectBusiException  
 * @Description: 重定向请求业务异常  
 * @author zhangtao  
 * @date May 25, 2018
 */
public class RedirectBusiException extends RuntimeException {
	private static final long serialVersionUID = 1L;

	private String code;
	private String msg;
	

	public RedirectBusiException(String msg) {
		super(msg);
		this.msg = msg;
	}

	public RedirectBusiException(String msg, Throwable e) {
		super(msg, e);
		this.msg = msg;
	}

	public RedirectBusiException(String code, String msg) {
		super(msg);
		this.msg = msg;
		this.code = code;
	}

	public RedirectBusiException(String code, String msg, Throwable e) {
		super(msg, e);
		this.msg = msg;
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
